package com.ruoyi.task;

import com.ruoyi.asset.mapper.AssetFlowCheckMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 工作流相关任务
 */
@Component("flowTask")
public class FlowTask {
    @Autowired
    private AssetFlowCheckMapper assetFlowCheckMapper;

    /**
     * 清除忽略的审核流程
     */
    public void ignore(){
        assetFlowCheckMapper.cleanIgnoreAssetFlowCheck();
    }
}
